package com.cr.admin.business.order.dao.repository;

import com.cr.admin.business.order.pojo.entity.Order;
import com.cr.admin.business.order.pojo.param.OrderSaveParam;
import com.cr.admin.business.order.pojo.param.OrderUpdateParam;
import com.cr.admin.business.order.pojo.query.OrderQuery;


import java.util.List;

public interface OrderRepository {
    List<Order> selectList(OrderQuery orderQuery);

    void insert(OrderSaveParam orderSaveParam);

    void updateById(OrderUpdateParam orderUpdateParam);

    Order selectById(Long id);

    void deleteByIds(List<Long> ids);
}
